Any membrane that functions for the protection or nourishment or respiration or excretion of a developing fetus